package org.dizena.modules.wss.wsinit;

import org.dizena.modules.wss.service.WsService;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class WsServerInitRunner implements CommandLineRunner
{
    @Resource
    private WsService wsService;

    @Override
    public void run(String... args) throws Exception
    {
        wsService.clearServerClient();
    }
}